package enum

// AuthStatus 认证状态枚举
type AuthStatus int

const (
	Unauthenticated AuthStatus = iota // 0: 未认证
	Auditing                         // 1: 审核中
	Authenticated                    // 2: 认证通过
	AuthenticationFailed             // -1: 认证未通过
)

// AuthStatusDescriptions 存储认证状态的描述信息
var AuthStatusDescriptions = map[AuthStatus]string{
	Unauthenticated:      "未认证",
	Auditing:             "审核中",
	Authenticated:        "认证通过",
	AuthenticationFailed: "认证未通过",
}

func (a AuthStatus) Value() int {
	return int(a)
}


// ServiceStatus 服务状态枚举
type ServiceStatus int

const (
	NotAccepting ServiceStatus = iota // 0: 未接单
	Accepting                        // 1: 开始接单
)

// ServiceStatusDescriptions 存储服务状态的描述信息
var ServiceStatusDescriptions = map[ServiceStatus]string{
	NotAccepting: "未接单",
	Accepting:    "开始接单",
}

func (s ServiceStatus) Value() int {
	return int(s)
}

